package cn.cque.entity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * (User)实体类
 *
 * @author XWC
 * @since 2020-09-22 10:20:07
 */
@Data
public class User {

    //@Column("uid")
    private String id;

    //@Column("username")
    private String username;

    //@Column("password")
    private String password;

    //@Column("name")
    private String name;

    //@Column("email")
    private String email;

    //@Column("telephone")
    private String telephone;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday;

    //@Column("sex")
    private String sex;

    //@Column("state")
    private Integer state;

    //@Column("code")
    private String code;

}